package com.headwind.logistics.permission.mapper;

import com.headwind.logistics.common.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 部门数据访问层
 */
public interface DepartmentMapper {

    /**
     * 获取全部部门信息
     * @param page
     * @param rows
     * @return
     */
    List<Department> queryAllDepartment(@Param("page")Integer page, @Param("rows")Integer rows);

}
